package com.ksyun.whgc.liweiliang.work2;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;

/**
 * @Deseription Application进行
 * @Author lwl
 * @Date 2023/4/20 23:27
 */
public class Application {
    public static void main(String[] args) {
        List<Student> students = Arrays.asList(
                new Student("Tom", 20, "New York", LocalDate.of(2002, 5, 12)),
                new Student("Alice", 18, "London", LocalDate.of(2004, 9, 3))
        );
        CollectionOutputUtil.print(students);

        //CollectionOutputUtil.writeDataToFile("aaaa");
    }
}
